<form id="send-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <fieldset>
        <legend>
            {:__('order detail info')}
        </legend>
        <!-- 订单信息 -->
        <div class="col-md-10 col-md-offset-1 col-sm-12">
            <div class="box radius-none">
                <div class="box-header with-border">
                    {:__('Order_no')}：{$vo.order_no} ( 下单时间 {$vo.createtime|date="Y-m-d H:i:s",###})
                </div>
                <div class="box-body">
                    <div class="panel panel-default">
                        <div class="panel-heading">商品详情</div>
                        <table class="table">
                            {foreach name="vo.item" item="item"}
                            <tr>
                                <td>{$item.goods_name}</td>
                                <td>{$item.name}</td>
                                <td>{$item.price}元</td>
                                <td>数量:{$item.goods_num}</td>
                                <td>成本:{$item.goods_price4}</td>
                                <!-- <td>分佣:{$item.feiyong}</td> -->
                            </tr>
                            {/foreach}
                        </table>
                    </div>
                    <div class="row" style="margin:1em 0;">
                        <div class="col-md-4 padding">
                            <span class="label label-danger">{:__('支付状态')}</span> :
                            {$vo.paystate_text}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-danger">{:__('支付时间')}</span> :
                            {if ($vo.paytime==0)}
                            无
                            {else}
                            {$vo.paytime}
                            {/if}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-danger">{:__('支付金额')}</span> :
                            {$vo.price}
                        </div>
                    </div>
                    <div class="row" style="margin:1em 0;">
                        <div class="col-md-4 padding">
                            <span class="label label-success">{:__('发货状态')}</span> :
                            {if ($vo.freight_status==0)}
                            未发货
                            {else}
                            已发货
                            {/if}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-success">{:__('发货时间')}</span> :
                            {if ($vo.freight_time==0)}
                            无
                            {else}
                            {$vo.freight_time|date="Y-m-d H:i:s",###}
                            {/if}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-success">{:__('运费')}</span> :
                            {$vo.yunfei}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-success">{:__('快递公司')}</span> :
                            {$vo.express_company}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-success">{:__('快递单号')}</span> :
                            {$vo.express_no}
                        </div>
                    </div>
                    <div class="row" style="margin:1em 0;">
                        <div class="col-md-4 padding">
                            <span class="label label-info">{:__('优惠金额')}</span> :
                            {$vo.youhui}
                        </div>
                        <div class="col-md-4 padding">
                            <span class="label label-info">{:__('订单状态')}</span> :
                            {$vo.orderstate_text}
                        </div>
                    </div>
                    <div class="col-md-12 padding">
                        <fieldset>
                            <legend>
                                <h4>{:__('物流信息')}</h4>
                            </legend>
                            <div class="col-md-6 padding">
                                {:__('联系人')}: {$vo.consignee}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('地址')}:{$vo.address}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('联系电话')}: {$vo.phone}
                            </div>
                        </fieldset>
                    </div>
                    <div class="col-md-12 padding">
                        <fieldset>
                            <legend>
                                <h4>{:__('门店信息')}</h4>
                            </legend>
                            <div class="col-md-6 padding">
                                {:__('门店名称')}: {$vo.mendian.name}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('地址')}:{$vo.address}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('联系人')}: {$vo.consignee}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('联系电话')}: {$vo.phone}
                            </div>
                        </fieldset>
                    </div>
                    {if ($vo.peisong_user_id != 0)}
                    <div class="col-md-12 padding">
                        <fieldset>
                            <legend>
                                <h4>{:__('配送员信息')}</h4>
                            </legend>
                            <div class="col-md-6 padding">
                                {:__('姓名')}: {$peisong.nickname}
                            </div>
                            <div class="col-md-6 padding">
                                {:__('联系电话')}:{$peisong.mobile}
                            </div>
                        </fieldset>
                    </div>
                    {/if}
                    <div class="col-md-12 padding">
                    <div class="peisong_ul">
                        {volist name="peisong_desc" id="item1"}
                        <div class="item">
                            <div class="image">
                                {volist name="item1.images" id="vo1"}
                                <div class="ic">
                                    <img src="{$vo1}">
                                </div>
                                {/volist}
                            </div>
                            <div class="text">
                                <p class="p1">{$item1.desc}</p>
                                <p class="p2">{$item1.createtime}</p>
                            </div>
                        </div>
                        {/volist}
                    </div>
                    </div>
                    <div class="col-md-12 padding">
                        <fieldset>
                            <legend>
                                <h4> </h4>
                            </legend>
                            <div class="col-md-6 col-md-offset-6 padding">
                                <div class="col-md-8 padding" style="text-align: right;">
                                    <span class="label label-success">下单微信昵称:</span><br><br>{$vo.user.nickname}
                                </div>
                                <div class="col-md-4 padding" style="text-align: left;">
                                    <img style="width: 78px;" class="img-circle" src="{$vo.user.avatar}" />
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </div>
        </div>
        <!-- 订单信息 -->
    </fieldset>
    <!-- {if ($vo.orderstate==1)}
    {in name="$vo.freight_status" value="0"}
    <fieldset>
        <legend>
            <h4>发货信息</h4>
        </legend>
        <div class="form-group">
            <input type="hidden" name="ids" id="ids" value="{$vo.id}">
            <label for="c-express_company" class="control-label col-xs-12 col-sm-2">快递公司:</label>
            <div class="col-xs-12 col-sm-8">
                <input placeholder="" id="c-express_company" data-rule="required" class="form-control" name="express_company" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label for="c-express_no" class="control-label col-xs-12 col-sm-2">快递单号:</label>
            <div class="col-xs-12 col-sm-8">
                <input placeholder="" id="c-express_no" data-rule="required" class="form-control" name="express_no" type="text" value="">
            </div>
        </div>
    </fieldset>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" id="send" data-type="send" class="btn btn-success btn-embossed">确认发货</button>
        </div>
    </div>
    {/in}
    {/if} -->
</form>
<style type="text/css">
    .peisong_ul{padding-top: 20px}
        .peisong_ul .item{display: flex;align-items: center;margin-bottom: 20px}
        .peisong_ul .item .text{margin-left: 20px}
    .peisong_ul .image{display: flex;flex-wrap: wrap;}
    .peisong_ul .image .ic{width: 80px}
    .peisong_ul .image .ic img{display: block;width: 100%}


</style>